﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace IQReportes.Models
{
    public class Usuario
    {
        [Key]
        public int idUsuario { get; set; }
        public string vcUsuario { get; set; }
        public string vcClave { get; set; }
        public string vcEmail { get; set; }
        public string vcNombre { get; set; }
        public int inTxBotonDateSeleccion {get;set;}
        public int inTxInstitucion { get; set; }
        public int inPCInstitucion { get; set; } 
        
        public int idPerfil { get; set; }
        [ForeignKey("idPerfil")]
        public virtual Perfil perfil { get; set; }

        public virtual ICollection<Modulo> modulos { get; set; }

        public Usuario() { }
    }
}